package com.WebProject.service.LoginDao.Impl;

import com.WebProject.dao.BaseDao;
import com.WebProject.mapper.AdminMapper;
import com.WebProject.pojo.t_user;
import com.WebProject.service.LoginDao.IloginDao;
import org.apache.ibatis.session.SqlSession;

/**
 * @PACKAGE_NAME: com.WebProject.service.LoginDao.Impl
 * @NAME: IloginDaoImpl
 * @USER: ZhouYongCheng
 * @DATE: 2022/7/29
 * @TIME: 20:01
 * @Description: IloginDao 实现类
 */
public class IloginDaoImpl extends BaseDao implements IloginDao {
    private SqlSession sqlSession = getConntion();
    private IloginDao mapper = sqlSession.getMapper(IloginDao.class);
    @Override
    public t_user login(String username) {
        return  mapper.login(username);

    }
}
